<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/WEB-INF/jsp/taglib.jsp" %>
<form name="form" action="<spring:url value="/personalCenter/uploadUserPhoto" />" class="form-horizontal" method="post"
      enctype="multipart/form-data">
    <div class="modal-body text-center">
        <div class="zxx_main_con">
            <div class="zxx_test_list">
                <input class="photo-file" type="file" name="imgFile" id="fcupload" onchange="readURL(this);"/>
                <img alt="" src="" id="cutimg"/>
                <input type="hidden" id="x" name="x"/>
                <input type="hidden" id="y" name="y"/>
                <input type="hidden" id="w" name="w"/>
                <input type="hidden" id="h" name="h"/>
            </div>
        </div>
    </div>

    <div id="preview-pane">
        <div class="preview-container">
            <img src="" class="jcrop-preview" alt="预览">
        </div>
    </div>

    <div class="modal-footer" hidden>
        <button id="submit" onclick="">上传</button>
    </div>
</form>